package homework3;
 class basicDepartment extends student{
     private String learnThings;

     public String getLearnThings() {
         return learnThings;
     }

     public void setLearnThings(String learnThings) {
         this.learnThings = learnThings;
     }

     @Override
     public void study() {
         System.out.println(getName()+"(基础班学生)，年龄："+getAge()+"，正在学习"+getLearnThings());
     }
 }
